Skip to main content

Interface ICallGateProvider<TRet>

This class facilitates inter-plugin communication.

Assembly: Dalamud.dll
View Source
Declaration
public interface ICallGateProvider<TRet>

Methods

RegisterAction(Action)

Registers an Action for inter-plugin communication.

View Source
Declaration
void RegisterAction(Action action)
Parameters
TypeNameDescription
System.ActionactionAction to register.

RegisterFunc(Func<TRet>)

Registers a Func for inter-plugin communication.

View Source
Declaration
void RegisterFunc(Func<TRet> func)
Parameters
TypeNameDescription
System.Func<<TRet>>funcFunc to register.

UnregisterAction()

Removes a registered Action from inter-plugin communication.

View Source
Declaration
void UnregisterAction()

UnregisterFunc()

Removes a registered Func from inter-plugin communication.

View Source
Declaration
void UnregisterFunc()

SendMessage()

Invoke all actions that have subscribed to this IPC.

View Source
Declaration
void SendMessage()